<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-tos-edit" th:object="${tos}">
            <input id="tosId" name="tosId" th:field="*{tosId}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">服务类型名称：</label>
				<div class="col-sm-8">
					<input id="tosName" name="tosName" th:field="*{tosName}" class="form-control" type="text">
				</div>
			</div>
			
			<!-- <div class="form-group">	
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" th:field="*{remark}" class="form-control" type="text">
				</div>
			</div> -->
		
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		
		$("#form-tos-edit").validate({
			rules:{
				tosName:{
					required:true,
				}
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save("/tos/edit", $('#form-tos-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
